diff options
| author | real-zephex <[email protected]> | 2024-04-07 19:30:25 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-07 19:30:25 +0530 |
| commit | 1cca92c67651972e6671bfbd7fee325cccd64690 (patch) | |
| tree | 2c569fcd87048af5d3b2fd23a89b28c50565a109 /src/app/manga/[title]/[id]/[read] | |
| parent | Merge pull request #3 from real-zephex/kdrama-section-rewrite (diff) | |
| parent | idek (diff) | |
| download | dramalama-1cca92c67651972e6671bfbd7fee325cccd64690.tar.xz dramalama-1cca92c67651972e6671bfbd7fee325cccd64690.zip | |
Merge pull request #4 from real-zephex/cloudflare-fix
Cloudflare fix
Diffstat (limited to 'src/app/manga/[title]/[id]/[read]')
| -rw-r--r-- | src/app/manga/[title]/[id]/[read]/page.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx index eaaa94c..fa338ac 100644 --- a/src/app/manga/[title]/[id]/[read]/page.jsx +++ b/src/app/manga/[title]/[id]/[read]/page.jsx @@ -3,6 +3,8 @@ import Image from "next/image"; import DownloadManga from "./download"; import CurrentReading from "./currentReading"; +export const runtime = "edge"; + export default async function Read({ params }) { const chapterId = params.read; const data = await getPages(chapterId); @@ -32,7 +34,7 @@ export default async function Read({ params }) { images.map((item, index) => ( <div className={styles.Image} key={index}> <Image - src={`https://image-proxy-4xuu.onrender.com/image-proxy?url=${item}`} + src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item}`} key={index} alt="Pages" width={800} |